package com.qys.livesMall.anchor.model.dto.lives.app;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author yxh
 */
@Data
@Schema(name = "BanUserDTO", description = "封禁用户")
public class BanUserDTO {

    @Schema(description = "直播间编号")
    @NotBlank
    private String livesRoomNumber;

    @Schema(description = "直播场次id")
    @NotNull
    private Long livesSessionId;

    @Schema(description = "用户id")
    @NotNull
    private Long userId;

    @Schema(description = "封禁时长（分钟）（前端不传）", example = "60")
    private Integer banTime;

    @Schema(description = "解封时间（前端不传）")
    private LocalDateTime overTime;

    @Schema(description = "操作人（前端不传）")
    private String createBy;
}
